import ajax from '@/utils/ajax'
import dialog from '@/utils/dialog'
export default function (query) {
  return ajax({
    url: `/a/address/getAddress?addressId=${query.addressId}`,
    data: {
      addressId: query.addressId
    }
  }).catch(msg => dialog.showToast(msg || '请求失败'))
}
